package deque

import (
	"fmt"
	"gitee.com/yuantsen/go-deque/deque"
)

func main() {
	d := deque.NewDeque(0)
	for i := 0; i < 10; i++ {
		d.PushBack(i)
		fmt.Println(i, d)
		//if i%3 == 0 {
		//	continue
		//}
		v := d.PopBack()
		fmt.Println(i, v)
	}

}
